<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>继承</title>
        <style>
            #one{color:red;border:solid green 3px;}
            
        </style>
    </head>
    <body>
       <div id="one">
            外层DIV
            <div id="two">
                内层DIV
            </div>

       </div>
    </body>
</html>